package com.zzj.model.dto;

import lombok.Data;

import javax.validation.constraints.NotNull;

@Data
public class MessageDTO {
  @NotNull(message = "请输入目标邮箱")
  private String to;

  @NotNull(message = "请输入邮件标题")
  private String title;

  @NotNull(message = "请输入邮件内容")
  private String content;
}
